﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_LayoutPage.cshtml";
}
@model IEnumerable<careerPath.Models.WorksManagermentEntities>
<div class="all">
    <div class="search">
        <form>
            <div class="searchDetail">
                <img src="Content/img/searchtt.gif" style="height: 17px;" />
                <a
                    style="color: yellow; font-size: 1.3em; font-weight: bold;">TÌM
					VIỆC LÀM</a>
                <hr />
                <div>
                    <p style="margin-right: 198px">Từ khóa</p>
                </div>
                <input type="text" style="" name="" class="keySearch" /><input
                    type="submit" style="" value="Tìm kiếm" class="btnSeacrh" /><br>
                <br>
                <p style="color: orange; font-weight: bold">TÌM KIẾM NÂNG CAO:</p>
                <br>
                <div style="margin-top: 5px;">
                    <p style="margin-right: 70px">Loại công việc</p>
                    <p style="margin-left: 27px">Nghề nghiệp</p>
                    <p style="margin-left: 110px">Khu vực</p>
                    <br>
                    <select class="typeSearch"
                        style="display: inline; margin: 5px 15px 0 0; padding-left: 5px">
                        <option>Tất cả</option>
                        <option>Bán thời gian</option>
                        <option>Chính thức</option>
                    </select>
                    <input type="text" style="display: inline; margin: 5px 15px 0 0;" class="typeSearch" />
                    <input type="text" style="display: inline; margin: 5px 0 0 0;" class="typeSearch" /><br>
                </div>
            </div>
        </form>
    </div>

    <div class="content">
        <div class="content-left">
            <div class="ttwork">
                <h3>Thông tin việc làm</h3>
                <h3 style="margin-left: 380px">Đánh giá / Chi tiết</h3>
            </div>


            @foreach(var item in Model)
            {

                @IEnumerable<@item.Works> a = @item.Works.ToList();
            <div class="work">
                <div class="workDetail">
                    <!--Chỗ này là Work Detail -->
                    @item.Title <br />
                    @item.Phone <br />
                    @item.Description
                </div>
                <div class="workInf">
                    <!--Chỗ này là Work Information -->
                    @item.DatePosted <br />
                    @item.DateConfirmed <br />
                </div>
            </div>
            }

            <input type="submit" class="clickmore" value="Xem thêm" />
        </div>
        <div class="content-right">
            <a href="../Work/RegWork">
                <input type="submit" class="regWork"
                    value="Đăng tin miễn phí" /></a>
            <img src="Content/img/test.png" />
        </div>
    </div>


</div>
